package com.hundsun.bbsp.sample.router;

/**
 * Created by wangwy on 2017/4/19.
 */
public class CustomRouter {
    public String route(String source){
    	System.out.println("接收到报文，根据报文号进行路由");
        int index = source.indexOf(" ");
        return "Channel"+source.substring(0,index);
    }
}
